#include "../lv_project_inc/lvgl_lock.h"

//初始化线程锁
void lvgl_lockInit()
{
    pthread_mutex_init(&mutex,NULL);
}

//加锁
void lvgl_lock()
{
    pthread_mutex_lock(&mutex);
}

//释放锁
void lvgl_unlock()
{
    pthread_mutex_unlock(&mutex);
}